package com.exam.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

//成绩pojo
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Score {
    Integer id;
    Integer examId;
    Integer studentId;
    String subject;
    Integer score;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    String answerDate;//考试日期
}
